<!-- 引入公共部分 -->
{{extend '../common/layout.html'}}

{{block 'link'}}
<!-- 添加css链接 -->

    <link rel="stylesheet" href="/static/admin/css/users.css">
    <link rel="stylesheet" href="/static/admin/css/bootstrap.min.css">

{{/block}}


{{block 'main'}}
<!-- body代码 -->
<!-- 头部代码 -->
    {{include '../common/header.html'}}
<div class=" layui-row" id="content">
    <!-- 侧边栏 -->
    {{include '../common/aside.html'}}
    <!-- 主题区域 -->
    <div class="layui-col-md10" id="right">
        <div id="nav">
            <!-- <a href="index">面试管理</a> -->
            <span ><b>用户管理</b></span>
        </div>
        <div class="content">
            <div id="right_top" >
                <button class="layui-btn layui-btn-danger" style="line-height:30px" onclick="delUsersFun()">删除</button>
                <button class="layui-btn layui-btn-normal" style="line-height:30px" onclick="goAddFun()">增加</button>
                <input type="search" id="search_input" onfocus="onfocusFun()"  style="height:35px" onblur="onblurFun()" placeholder="输入姓名" >
                <button class="btn" style="line-height:30px;color: black;background-color:white"  onclick="seekUsersFun()">查找</button>
                <button class="layui-btn layui-btn-warm" style="line-height:30px" onclick="initAllPasswordFun()">初始化密码</button>
                <button class="layui-btn" style="line-height:30px" onclick="location.reload();">刷新</button>
                
            </div>
            <div id="right_wrap">
                <table lay-even class="layui-table" > 
                    <thead>
                        <tr>
                          <td><input type="checkbox" id="checkAll" onclick="checkAllFun()"></td>
                          <td>姓名（点击可修改）</td>
                          <td>账号（点击可修改）</td>
                          <td>密码（点击可修改）</td>
                          <td>操作</td>
                        </tr> 
                    </thead>
                    <tbody id="tybody">
                        
                    </tbody>
                    
                </table>
                
            </div>
            <div class="nav_bottom">
                <div id="demo7"></div>
            </div>
        </div>
    </div>
</div>
<div id="cover_div" onclick="cancleDelFun()" ></div>
<div id=windowDiv>
    <h2 class="layui-bg-green" >删除用户</h2>
    <span id="change_cancleA" class="layui-icon layui-icon-close" onclick="cancleDelFun()"></span>
    <hr>
    <div id="windowDiv_wrap">
        是否删除该用户？
    </div>
    <button class="layui-btn layui-btn-normal" id="cancleDel" onclick="cancleDelFun()" >取消</button>
    <button class="layui-btn layui-btn-danger" id="submitDel" onclick="submitDelFun()">删除</button>
</div>
<div id="successShow">
    <div id="successCover"></div>
    <span id="successSpan">已修改</span>
</div>




{{/block}}
    
    



{{block 'script'}}
<!-- 添加js代码 -->
    <script src="/static/admin/js/users.js"></script>
{{/block }}
